home *** CD-ROM | disk | FTP | other *** search
/ Minami 55 / MINAMI55.ISO / Varios / Juegos / 02 - Samurai_vs_Ninjas.swf / scripts / DefineSprite_339 / frame_11 / PlaceObject2_78_7 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2004-10-04  |  3KB  |  114 lines

  1. onClipEvent(enterFrame){
  2.    var mySound = new Sound(this);
  3.    mySound.stop();
  4.    if(this.hittest(_root.main.r.r1.dmz.σàëσêÇ))
  5.    {
  6.       if(_root.hjx == 0)
  7.       {
  8.          _root.main.powr.p -= 20;
  9.          _root.hjx = 1;
  10.       }
  11.       mySound.attachSound("µû⌐Σ╕¡");
  12.       mySound.start();
  13.       if(_parent._parent.p <= 30)
  14.       {
  15.          _parent.gotoAndStop("µ¡╗1");
  16.       }
  17.       else
  18.       {
  19.          _parent.gotoAndStop("Σ╕¡µï¢7");
  20.       }
  21.    }
  22.    if(this.hittest(_root.main.dr1.dr1.sst.sst || _root.main.dr2.dr1.sst.sst || _root.main.dr3.dr1.sst.sst))
  23.    {
  24.       mySound.attachSound("µæöτó░");
  25.       mySound.start();
  26.       if(_parent._parent.p <= 12)
  27.       {
  28.          _parent.gotoAndStop("µ¡╗1");
  29.       }
  30.       else
  31.       {
  32.          _parent.gotoAndStop("Σ╕¡µï¢2");
  33.       }
  34.    }
  35.    if(this.hitTest(_root.main.r.r1.dmz.µï│))
  36.    {
  37.       mySound.attachSound("µû⌐Σ╕¡");
  38.       mySound.start();
  39.       if(_parent._parent.p <= 6)
  40.       {
  41.          _parent.gotoAndStop("µ¡╗1");
  42.       }
  43.       else
  44.       {
  45.          _parent.gotoAndStop("Σ╕¡µï¢1");
  46.       }
  47.    }
  48.    if(this.hitTest(_root.main.r.r1.dmz.Φ┐₧1))
  49.    {
  50.       mySound.attachSound("Φ┐₧Σ╕¡1");
  51.       mySound.start();
  52.       if(_parent._parent.p <= 6)
  53.       {
  54.          _parent.gotoAndStop("µ¡╗1");
  55.       }
  56.       else
  57.       {
  58.          _parent.gotoAndStop("Σ╕¡µï¢3");
  59.       }
  60.    }
  61.    if(this.hitTest(_root.main.r.r1.dmz.Φ┐₧2))
  62.    {
  63.       mySound.attachSound("Φ┐₧Σ╕¡2");
  64.       mySound.start();
  65.       if(_parent._parent.p <= 6)
  66.       {
  67.          _parent.gotoAndStop("µ¡╗1");
  68.       }
  69.       else
  70.       {
  71.          _parent.gotoAndStop("Σ╕¡µï¢1");
  72.       }
  73.    }
  74.    if(this.hitTest(_root.main.r.r1.dmz.Φ┐₧3))
  75.    {
  76.       mySound.attachSound("Φ┐₧Σ╕¡3");
  77.       mySound.start();
  78.       if(_parent._parent.p <= 12)
  79.       {
  80.          _parent.gotoAndStop("µ¡╗1");
  81.       }
  82.       else
  83.       {
  84.          _parent.gotoAndStop("Σ╕¡µï¢7");
  85.       }
  86.    }
  87.    if(this.hitTest(_root.main.r.r1.dmz.Φ╕Åσëìµû⌐))
  88.    {
  89.       mySound.attachSound("Φ┐₧Σ╕¡2");
  90.       mySound.start();
  91.       if(_parent._parent.p <= 30)
  92.       {
  93.          _parent.gotoAndStop("µ¡╗1");
  94.       }
  95.       else
  96.       {
  97.          _parent.gotoAndStop("Σ╕¡µï¢7");
  98.       }
  99.    }
  100.    if(this.hitTest(_root.main.r.r1.jump.Φ╖│))
  101.    {
  102.       mySound.attachSound("Φ╕óΣ╕¡");
  103.       mySound.start();
  104.       if(_parent._parent.p <= 12)
  105.       {
  106.          _parent.gotoAndStop("µ¡╗1");
  107.       }
  108.       else
  109.       {
  110.          _parent.gotoAndStop("Σ╕¡µï¢2");
  111.       }
  112.    }
  113. }
  114.